Chapter 3 - Hardware

3.1 Computers and their components

Primary memory →

Random Access Memory (RAM) →

Dynamic RAM (DRAM) Static RAM (SRAM)
Has to be refreshed and recharged Doesn’t request a refresh
Single transistor per bit Multiple transistors per bit → more complex circuitry
Stores each bit as a charge Stores each bit as a flip-flop
Higher power due to refresh Lower power
Less expensive, as less transistors per bit More expensive as more transistors per bit
Slower access times due to refresh Faster access times
Higher storage and data density Lower storage and data density
Main memory Cache memory

Read-Only Memory (ROM) →

Storage devices →

Magnetic hard-disk drives →

Solid-state media →

Pros Cons
  • More robust and durable; less susceptible to damage
  • Fast access speeds
  • No moving parts and noise
  • Lighter weight
  • Lower power consumption → extended battery life → cooler devices
  • More expensive per unit storage
  • Low longevity for read/write functions

Optical media →

Output devices →

Screen display →

Laser printer →

Use of RAM:

Use of ROM:

3D printer →

Speaker →

Input devices →

Touch Screens →

Type Principle Pros Cons
Resistive

Flexible upper surface and two electrically conductive layers with a gap. The screen is not rigid, so when it is touched, it moves to touch the bottom layer. This creates a voltage divider and completes the circuit in horizontal and vertical directions. Point of contact determined. Coordinate calculated

  • Inexpensive
  • Can use stylus, gloves, fingers

  • Poor visibility in sun
  • No multi touch
  • Not very durable - Scratches and screen wears over time
Capacitive

Rigid surface above conductive layer. Electrical charge conducted between them. The glass layer acts as a capacitor with electric fields. Finger touching changes the electric field, detected by sensors and point of contact determined. Coordinate calculated

  • Medium cost
  • Good visibility in sun
  • Multi-touch
  • Durable

  • Only fingers - no gloves or stylus

Microphones →

Virtual reality headset →

Embedded and general systems →

Monitoring and control systems →

System basics →

Feedback is used in a control system to ensure it operates in given criteria by enabling the system to affect subsequent inputs and automatically adjust conditions. Ensures output is similar to required value.

3.2 Logic gates →

Electronic logic gates take 1 or more inputs and produce a single output.

placeholder image